package com.cqhfan.chatroom.service;

import com.cqhfan.chatroom.domain.dto.FriendAddDTO;
import com.cqhfan.chatroom.domain.po.Friend;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cqhfan.chatroom.domain.vo.MyFriendVO;
import com.cqhfan.chatroom.domain.vo.NewFriendVO;
import com.cqhfan.common.domain.dto.PageDTO;
import com.cqhfan.common.domain.query.PageQuery;

import java.util.List;

/**
 * <p>
 * 好友 服务类
 * </p>
 *
 * @author 眭传洪
 * @since 2024-11-18
 */
public interface IFriendService extends IService<Friend> {

    PageDTO<NewFriendVO> listNewFriend(PageQuery query);

    List<MyFriendVO> listMyFriends();

    void addFriendInfo(FriendAddDTO body);
}
